<?php
// no direct access 

defined('_JEXEC') or die('Restricted access'); 

jimport('joomla.html.toolbar'); 

class FattureTooHelperToolbar extends JObject 
{ 
	function getToolbar() 
	{ 
	//	$bar =& new JToolBar( 'Societa\'' );
		JToolBarHelper::title( JText::_( 'Societa\'' ),							'generic.png' );
		JToolBarHelper::save();
		JToolBarHelper::apply();
		JToolBarHelper::cancel();
	//	JToolBarHelper::editNewX('edit');
	//	JToolBarHelper::addNewX('add');
	/*	$bar->appendButton( 'Standard', 'new', 'Nuova Societa\'', 'nuovo', false ); 
		$bar->appendButton( 'Separator' ); 
		$bar->appendButton( 'Standard', 'delete', 'Cancella Societa\'', 'delete', false ); 
		return $bar->render(); */
	}

	function getToolbarMenu() 
	{ 
	/*	JToolBarHelper::title( JText::_( 'Se' ),							'generic.png' );
		JToolBarHelper::save();
		JToolBarHelper::apply();
		JToolBarHelper::cancel();
		//$bar =& new JToolBar( 'Menu\'' );  */
		
		JToolBarHelper::title( JText::_( 'Societa\'' ), 'generic.png' );
		JToolBarHelper::custom('Societa', 'apply.png', 'apply.png', 'societa', false); 
		/*$bar->appendButton( 'Standard', 'new', 'Societa\'', 'menu_societa', false ); 
		return $bar->render();*/
	} 	
} 
?>